import { _decorator, Component, Node, Button } from 'cc';
import EventManager, { EVENT_ENUM } from './Manager/EventManager';
const { ccclass, property } = _decorator;

@ccclass('StockPile')
export class StockPile extends Component {
    protected onLoad(): void {
        this.node.on(Node.EventType.TOUCH_END, () => {
            console.log("点击了");
            EventManager.emit(EVENT_ENUM.DRAW_CARDS);
        });
    }
    start() {

    }

    update(deltaTime: number) {

    }
}


